package com.lovo.dao;

import com.lovo.model.UserDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface UserDAO extends JpaRepository<UserDO, Integer> {
    @Query("from UserDO where name like ?1 and pwd like ?2")
    UserDO findByNameAndPwd(String name, String pwd);


}
